HAL NOR APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.

HAL NOR enumerations

HAL1

series

HAL2

Refer to

HAL_NOR_CallbackIDTypeDef

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_MSP_DEINIT_CB_ID

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_MSP_INIT_CB_ID

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_STATE_BUSY

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_STATE_ERROR

u5, h5, l4, f4, g4, h7

HAL_NOR_STATE_FAULT

Refer to

HAL_NOR_STATE_PROTECTED

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_STATE_READY

u5, h5, l4, f4, g4, h7

HAL_NOR_STATE_IDLE

Refer to

HAL_NOR_STATE_RESET

u5, h5, l4, f4, g4, h7

HAL_NOR_STATE_RESET

Refer to

HAL_NOR_STATUS_ERROR

u5, h5, l4, f4, g4, h7

HAL_NOR_DEVICE_STATE_ERROR

Refer to

HAL_NOR_STATUS_ONGOING

u5, h5, l4, f4, g4, h7

HAL_NOR_DEVICE_STATE_ONGOING

Refer to

HAL_NOR_STATUS_SUCCESS

u5, h5, l4, f4, g4, h7

HAL_NOR_DEVICE_STATE_SUCCESS

Refer to

HAL_NOR_STATUS_TIMEOUT

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_StateTypeDef

u5, h5, l4, f4, g4, h7

hal_nor_state_t

Refer to

HAL_NOR_StatusTypeDef

u5, h5, l4, f4, g4, h7

hal_nor_device_status_t

Refer to


HAL NOR macros

HAL1

series

HAL2

Refer to

__HAL_NOR_RESET_HANDLE_STATE

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to


HAL NOR structures

HAL1

series

HAL2

Refer to

NOR_CFITypeDef

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

NOR_HandleTypeDef

u5, h5, l4, f4, g4, h7

hal_nor_handle_t

Refer to

NOR_IDTypeDef

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

FMC_NORSRAM_InitTypeDef

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

FMC_NORSRAM_TimingTypeDef

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to


HAL NOR pointers

HAL1

series

HAL2

Refer to

pNOR_CallbackTypeDef

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to


HAL NOR functions

HAL1

series

HAL2

Refer to

HAL_NOR_DeInit

u5, h5, l4, f4, g4, h7

HAL_NOR_DeInit

Refer to

HAL_NOR_Erase_Block

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_Erase_Chip

u5, h5, l4, f4, g4, h7

HAL_NOR_CFI_0002_ChipErase

Refer to

HAL_NOR_GetState

u5, h5, l4, f4, g4, h7

HAL_NOR_GetState

Refer to

HAL_NOR_GetStatus

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_Init

u5, h5, l4, f4, g4, h7

HAL_NOR_Init

Refer to

HAL_NOR_MspDeInit

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_MspInit

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_MspWait

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_Program

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_ProgramBuffer

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_Read

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_ReadBuffer

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_Read_CFI

u5, h5, l4, f4, g4, h7

HAL_NOR_CFI_ReadDeviceInfo

Refer to

HAL_NOR_Read_ID

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_RegisterCallback

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_ReturnToReadMode

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_UnRegisterCallback

u5, h5, l4, f4, g4, h7

Removed / New Usage changes

Refer to

HAL_NOR_WriteOperation_Disable

u5, h5, l4, f4, g4, h7

HAL_NOR_EnableWriteProtection

Refer to

HAL_NOR_WriteOperation_Enable

u5, h5, l4, f4, g4, h7

HAL_NOR_DisableWriteProtection

Refer to


HAL NOR constants

HAL1

series

HAL2

Refer to

FMC_DATA_ADDRESS_MUX_DISABLE

u5, h5, l4, f4, g4, h7

HAL_NOR_MUX_DATA_ADDR_DISABLE

Refer to

FMC_DATA_ADDRESS_MUX_ENABLE

u5, h5, l4, f4, g4, h7

HAL_NOR_MUX_DATA_ADDR_ENABLE

Refer to

FMC_WRITE_FIFO_DISABLE

u5, h5, l4, f4, g4, h7

HAL_NOR_WRITE_FIFO_DISABLE

Refer to

FMC_WRITE_FIFO_ENABLE

u5, h5, l4, f4, g4, h7

HAL_NOR_WRITE_FIFO_ENABLE

Refer to

FMC_ACCESS_MODE_B

u5, h5, l4, f4, g4, h7

HAL_NOR_ACCESS_MODE_B

Refer to

FMC_ACCESS_MODE_C

u5, h5, l4, f4, g4, h7

HAL_NOR_ACCESS_MODE_C

Refer to


HAL NOR legacy aliases (HAL1 to HAL1)

Note

This table provides a list of HAL1 to HAL1 legacy aliases defined in the stm32_hal_legacy.h HAL1 header file. To migrate the aliased HAL1 APIs, search for them in the HAL1 to HAL2 sections: HAL NOR constants, HAL NOR enumerations, HAL NOR macros, HAL NOR structures, HAL NOR functions.

HAL1 legacy API alias

HAL1 API

NOR_ERROR

HAL_NOR_STATUS_ERROR

NOR_ONGOING

HAL_NOR_STATUS_ONGOING

NOR_SUCCESS

HAL_NOR_STATUS_SUCCESS

NOR_TIMEOUT

HAL_NOR_STATUS_TIMEOUT